package com.shsmi.entity;

import java.io.Serializable;

/**
 * Description: 坐标点
 *
 * @author chrli
 * @date Created on 2020年12月31日
 */
public class GeoRegion implements Serializable {

    private static final long serialVersionUID = 3584864663880053897L;

    private double maxLon;

    private double maxLat;

    private double minLon;

    private double minLat;

    public GeoRegion() {
    }

    public GeoRegion(double maxLon, double maxLat, double minLon, double minLat) {
        super();
        this.maxLon = maxLon;
        this.maxLat = maxLat;
        this.minLon = minLon;
        this.minLat = minLat;
    }

    public double getMaxLon() {
        return maxLon;
    }

    public void setMaxLon(double maxLon) {
        this.maxLon = maxLon;
    }

    public double getMaxLat() {
        return maxLat;
    }

    public void setMaxLat(double maxLat) {
        this.maxLat = maxLat;
    }


    public double getMinLon() {
        return minLon;
    }

    public void setMinLon(double minLon) {
        this.minLon = minLon;
    }

    public double getMinLat() {
        return minLat;
    }

    public void setMinLat(double minLat) {
        this.minLat = minLat;
    }


    @Override
    public String toString() {
        return maxLon + "," + minLat;
    }

}
